-- GENERATED SPELL FOR [Qiraji Brigadier General] --


function spell0_15753(pUnit, Event) --@Demoralizing Shout,Self--
pUnit:FullCastSpellOnTarget(13730,pUnit)
pUnit:RegisterEvent('Sorts_15753', 30304, 1)
end

function spell1_15753(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(19643,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15753', 5335, 1)
end

function Sorts_15753(pUnit, Event)
local choix_sorts_15753 = math.random(0, 1)
if choix_sorts_15753 == 0 then
pUnit:RegisterEvent('spell0_15753', 1, 1)
end
if choix_sorts_15753 == 1 then
pUnit:RegisterEvent('spell1_15753', 1, 1)
end
end

function mob15753_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15753', math.random(1500, 3000), 1)
end

function mob15753_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15753_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15753_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15753, 1, 'mob15753_Action')
RegisterUnitEvent(15753, 2, 'mob15753_Leave')
RegisterUnitEvent(15753, 3, 'mob15753_Kill')
RegisterUnitEvent(15753, 4, 'mob15753_Die')
